{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Importing PulP solver\n",
    "from pulp import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Plant Location Alternatives\n",
    "plant_locations=['Mina Salman','Port of Alexandria','Port of Bandar Abbas','Port of Umm Qasr','Port of Haifa','Port of Aqaba','Port of Shuwaikh','Port of Beirut','Port of Salalah','Port of Gaza','Port of Doha','Port of King Abdul Aziz','Port of Jeddah','Port of Latakia','Port of Mersin','Port of Jebel Ali','Port of Hodeidah']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the demand points\n",
    "demand_points=['Mina Salman','Larnaca Port','Port of Alexandria','Port of Bandar Abbas','Port of Umm Qasr','Port of Haifa','Port of Aqaba','Port of Shuwaikh','Port of Beirut','Port of Salalah','Port of Gaza','Port of Doha','Port of King Abdul Aziz','Port of Jeddah','Port of Latakia','Port of Mersin','Port of Jebel Ali','Port of Hodeidah']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Carbon Fiber Supplying Points\n",
    "supply_points2=['Port of Shanghai','Port of Marseille','Port of Hamburg_Germany','Port of Budapest','Port of Jawaharlal Nehru','Port of Nagoya','Port of Busan','Port of Manzanillo','Port of Kaohsiung','Port of Mersin','Port of Immingham','Port of New York','Port of Los Angeles']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Steel Supplying Points\n",
    "supply_points3=['Port of Buenos Aires','Port of Newcastle','Port of Hedland','Port of Vienna','Port of Antwerp','Port of Santos','Port of Montreal','Port of Vancouver','Port of Shanghai','Port of Hamburg_Czeck','Port of Alexandria','Port of Marseille','Port of Hamburg_Germany','Port of Budapest','Port of Jawaharlal Nehru','Port of Tanjung Priok','Port of Bandar Abbas','Port of Haifa','Port of Gioia Tauro','Port of Nagoya','Port of Aqaba','Port of Busan','Port of Manzanillo','Port of Casablanca','Port of Rotterdam','Port of Salalah','Port of Karachi','Port of Gdansk','Port of Doha','Port of Vladivostok','Port of Novorossiysk','Port of St. Petersburg','Port of King Abdul Aziz','Port of Jeddah','Port of Bratislava','Port of Durban','Port of Algeciras','Port of Gothenburg','Port of Latakia','Port of Kaohsiung','Port of Bangkok','Port of Mersin','Port of Odessa','Port of Jebel Ali','Port of Immingham','Port of New York','Port of Los Angeles','Port of Saigon']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "#HSS Supplying Points\n",
    "supply_points4=['Port of Buenos Aires','Port of Newcastle','Port of Hedland','Port of Vienna','Port of Antwerp','Port of Santos','Port of Montreal','Port of Vancouver','Port of Shanghai','Port of Hamburg_Czeck','Port of Alexandria','Port of Marseille','Port of Hamburg_Germany','Port of Budapest','Port of Jawaharlal Nehru','Port of Tanjung Priok','Port of Bandar Abbas','Port of Haifa','Port of Gioia Tauro','Port of Nagoya','Port of Aqaba','Port of Busan','Port of Manzanillo','Port of Casablanca','Port of Rotterdam','Port of Salalah','Port of Karachi','Port of Gdansk','Port of Doha','Port of Vladivostok','Port of Novorossiysk','Port of St. Petersburg','Port of King Abdul Aziz','Port of Jeddah','Port of Bratislava','Port of Durban','Port of Algeciras','Port of Gothenburg','Port of Latakia','Port of Kaohsiung','Port of Bangkok','Port of Mersin','Port of Odessa','Port of Jebel Ali','Port of Immingham','Port of New York','Port of Los Angeles','Port of Saigon']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Aluminium Supplying Points\n",
    "supply_points5=['Port of Buenos Aires','Port of Newcastle','Port of Hedland','Port of Baku','Port of Mina Salman','Port of Ploce','Port of Santos','Port of Douala','Port of Montreal','Port of Vancouver','Port of Shanghai','Port of Alexandria','Port of Marseille','Port of Hamburg_Germany','Port of Tema','Port of Piraeus','Port of Budapest','Port of Reykjavik','Port of Jawaharlal Nehru','Port of Tanjung Priok','Port of Bandar Abbas','Port of Gioia Tauro','Port of Nagoya','Port of Aktau','Penang Port','Port of Manzanillo','Port of Belgrade','Port of Maputo','Port of Rotterdam','Port of Tauranga','Port of Lagos','Port of Oslo','Port of Salalah','Port of Gdansk','Port of Doha','Port of Constanta','Port of Vladivostok','Port of Novorossiysk','Port of St. Petersburg','Port of Bratislava','Port of Koper','Port of Durban','Port of Algeciras','Port of Gothenburg','Port of Basel','Port of Riga','Port of Mersin','Port of Odessa','Port of Jebel Ali','Port of Immingham','Port of New York','Port of Los Angeles','Port of Puerto Cabello']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Magnesium Supplying Points\n",
    "supply_points6=['Port of Santos','Port of Montreal','Port of Vancouver','Port of Shanghai','Port of Marseille','Port of Bandar Abbas','Port of Haifa','Port of Aktau','Port of Busan','Penang Port','Port of Oslo','Port of Vladivostok','Port of Novorossiysk','Port of St. Petersburg','Port of Belgrade','Port of Mersin','Port of Odessa','Port of New York','Port of Los Angeles']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Plastic Supplying Points\n",
    "supply_points7=['Port of Buenos Aires','Port of Antwerp','Port of Santos','Port of Montreal','Port of Vancouver','Port of Shanghai','Buenaventura','Port of Alexandria','Port of Marseille','Port of Hamburg_Germany','Port of Jawaharlal Nehru','Port of Gioia Tauro','Port of Nagoya','Port of Busan','Port of Shuwaikh','Penang Port','Port of Manzanillo','Port of Rotterdam','Port of Lagos','Port of Salalah','Port of Gdansk','Port of Doha','Port of King Abdul Aziz','Port of Jeddah','Port of Singapore','Port of Durban','Port of Algeciras','Port of Bangkok','Port of Jebel Ali','Port of Immingham','Port of New York','Port of Los Angeles','Port of Saigon']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Rubber Supplying Points\n",
    "supply_points8=['Port of Santos','Sihanoukville','Douala','Port of Shanghai','Puerto Quetzal','Port of Jawaharlal Nehru','Port of Tanjung Priok','Port of Abidjan','Port of Monrovia','Penang Port','Port of Manzanillo','Port of Yangon','Port of Lagos','Port of Manila','Port of  Colombo','Port of Bangkok','Port of Saigon']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Glass Supplying Points\n",
    "supply_points9=['Port of Vienna','Port of Antwerp','Port of Shanghai','Port of Hamburg_Czeck','Port of Marseille','Port of Hamburg_Germany','Port of Hong Kong','Port of Budapest','Port of Jawaharlal Nehru','Port of Gioia Tauro','Port of Nagoya','Port of Busan','Penang Port','Port of Manzanillo','Port of Rotterdam','Port of Gdansk','Port of Vladivostok','Port of Novorossiysk','Port of St. Petersburg','Port of Algeciras','Port of Bangkok','Port of Mersin','Port of Immingham','Port of New York','Port of Los Angeles','Port of Saigon']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the distances\n",
    "distance8 = dict(zip(supply_points8, [dict(zip(plant_locations, [9662.00,7529.00,9351.00,9933.00,7667.00,8005.00,9888.00,7626.00,8408.00,6360.00,9594.00,9716.00,8432.00,7553.00,7528.00,9407.00,8624.00])),\n",
    "dict(zip(plant_locations, [4867.00,6351.00,4543.00,5125.00,6321.00,5897.00,5080.00,6371.00,4256.00,6126.00,4800.00,4908.00,5326.00,6536.00,6531.00,4613.00,4788.00])),\n",
    "dict(zip(plant_locations, [8271.00,5873.00,7961.00,8542.00,6011.00,6349.00,8498.00,5969.00,7018.00,5413.00,8498.00,8325.00,6775.00,5897.00,9537.00,8017.00,7233.00])),\n",
    "dict(zip(plant_locations, [6882.00,8365.00,6557.00,7139.00,8336.00,7912.00,7094.00,8385.00,6270.00,7660.00,6814.00,6922.00,7341.00,8550.00,8546.00,6627.00,6802.00])),\n",
    "dict(zip(plant_locations, [12209.00,8682.00,11893.00,12480.00,8820.00,9158.00,12433.00,8779.00,10937.00,8500.00,12317.00,12259.00,9583.00,8706.00,8681.00,11949.00,10122.00])),\n",
    "dict(zip(plant_locations, [1589.00,3540.00,1265.00,1847.00,3510.00,3086.00,1802.00,3560.00,1143.00,3243.00,1522.00,1630.00,2515.00,3725.00,3720.00,1335.00,1977.00])),\n",
    "dict(zip(plant_locations, [4660.00,6030.00,4336.00,4917.00,6000.00,5576.00,4873.00,6049.00,4050.00,5814.00,4592.00,4700.00,5005.00,6215.00,6210.00,4405.00,4466.00])),\n",
    "dict(zip(plant_locations, [8823.00,5073.00,8512.00,9093.00,5211.00,5549.00,9049.00,5050.00,7569.00,4594.00,9049.00,8877.00,5975.00,5097.00,5072.00,8568.00,6514.00])),\n",
    "dict(zip(plant_locations, [8206.00,4678.00,7895.00,8477.00,4816.00,5154.00,8432.00,4774.00,6952.00,4138.00,8432.00,8259.00,5580.00,4702.00,4677.00,7951.00,6119.00])),\n",
    "dict(zip(plant_locations, [3856.00,5340.00,3532.00,4113.00,5310.00,4886.00,4069.00,5359.00,3245.00,5210.00,3788.00,3896.00,4315.00,5525.00,5520.00,3601.00,3777.00])),\n",
    "dict(zip(plant_locations, [13061.00,9534.00,12745.00,13332.00,9673.00,10011.00,13286.00,9631.00,11791.00,8088.00,12977.00,13099.00,10419.00,9541.00,9516.00,12790.00,10974.00])),\n",
    "dict(zip(plant_locations, [3942.00,5464.00,3618.00,4199.00,5434.00,5010.00,4155.00,5483.00,3331.00,5215.20,4155.00,3982.00,4439.00,5649.00,5644.00,3687.00,3900.00])),\n",
    "dict(zip(plant_locations, [8570.00,5524.00,8260.00,8841.00,5662.00,6000.00,8797.00,5620.00,7317.00,5052.00,8797.00,8624.00,6426.00,5548.00,5523.00,8316.00,6965.00])),\n",
    "dict(zip(plant_locations, [5794.00,7278.00,5470.00,6051.00,7248.00,6824.00,6007.00,7297.00,5182.00,6834.00,6007.00,5834.00,6253.00,7462.00,7458.00,5539.00,5714.00])),\n",
    "dict(zip(plant_locations, [2531.00,4039.00,2207.00,2788.00,4010.00,3586.00,2744.00,4059.00,1920.00,3991.00,2464.00,2572.00,3015.00,4224.00,4220.00,2276.00,2476.00])),\n",
    "dict(zip(plant_locations, [5102.00,6585.00,4778.00,5359.00,6556.00,6132.00,5315.00,6605.00,4490.00,6341.00,5034.00,5142.00,5561.00,6770.00,6766.00,4847.00,5022.00])),\n",
    "dict(zip(plant_locations, [4964.00,6448.00,4640.00,5221.00,6418.00,5994.00,5177.00,6467.00,4353.00,6368.00,4896.00,5004.00,5423.00,6633.00,6628.00,4709.00,4884.00]))]))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the distances\n",
    "distance9 = dict(zip(supply_points9, [dict(zip(plant_locations, [5729.00,2163.00,5419.00,6000.00,2306.00,2677.00,5955.00,2262.00,4476.00,2106.00,5662.00,5783.00,3103.00,2167.00,2142.00,5475.00,3642.00])),\n",
    "dict(zip(plant_locations, [7193.00,3665.00,6882.00,7464.00,3804.00,4141.00,7419.00,3761.00,5939.00,3327.94,7125.00,7247.00,4567.00,3689.00,3664.00,6938.00,5106.00])),\n",
    "dict(zip(plant_locations, [6882.00,8365.00,6557.00,7139.00,8336.00,7912.00,7094.00,8385.00,6270.00,7660.00,6814.00,6922.00,7341.00,8550.00,8546.00,6627.00,6802.00])),\n",
    "dict(zip(plant_locations, [7561.00,4033.00,7250.00,7832.00,4173.00,4509.00,7788.00,4130.00,6307.00,3595.70,7493.00,7615.00,4935.00,4057.00,4032.00,7306.00,5475.00])),\n",
    "dict(zip(plant_locations, [5332.00,1805.00,5024.00,5603.00,1946.00,2282.00,5558.00,1900.00,4081.00,1631.00,5267.00,5388.00,2709.00,1830.00,1806.00,5080.00,3245.00])),\n",
    "dict(zip(plant_locations, [7561.00,4034.00,7250.00,7832.00,4173.00,4509.00,7788.00,4130.00,6307.00,3595.70,7493.00,7615.00,4935.00,4057.00,4032.00,7306.00,5475.00])),\n",
    "dict(zip(plant_locations, [6021.00,7505.00,5697.00,6278.00,7475.00,7051.00,6234.00,7524.00,5410.00,6949.00,5953.00,6061.00,6480.00,7690.00,7685.00,5766.00,5941.00])),\n",
    "dict(zip(plant_locations, [5615.00,2047.00,5304.00,5886.00,2192.00,2563.00,5841.00,2148.00,4362.00,1992.00,5547.00,5669.00,2989.00,2052.00,2028.00,5360.00,3528.00])),\n",
    "dict(zip(plant_locations, [1589.00,3540.00,1265.00,1847.00,3510.00,3086.00,1802.00,3560.00,1143.00,3243.00,1522.00,1630.00,2515.00,3725.00,3720.00,1335.00,1977.00])),\n",
    "dict(zip(plant_locations, [4620.00,1092.00,4310.00,4891.00,1230.00,1568.00,4847.00,1189.00,3367.00,1336.00,4553.00,4674.00,1994.00,1116.00,1091.00,4366.00,2533.00])),\n",
    "dict(zip(plant_locations, [7759.00,9243.00,7435.00,8017.00,9214.00,8790.00,7972.00,9263.00,7148.00,8308.00,7692.00,7800.00,8219.00,9428.00,9424.00,7505.00,7680.00])),\n",
    "dict(zip(plant_locations, [7398.00,8882.00,7074.00,7655.00,8852.00,8428.00,7611.00,8901.00,6786.00,8020.00,7330.00,7438.00,7857.00,9066.00,9062.00,7143.00,7318.00])),\n",
    "dict(zip(plant_locations, [3856.00,5340.00,3532.00,4113.00,5310.00,4886.00,4069.00,5359.00,3245.00,5210.00,3788.00,3896.00,4315.00,5525.00,5520.00,3601.00,3777.00])),\n",
    "dict(zip(plant_locations, [13061.00,9534.00,12745.00,13332.00,9673.00,10011.00,13286.00,9631.00,11791.00,8088.00,12977.00,13099.00,10419.00,9541.00,9516.00,12790.00,10974.00])),\n",
    "dict(zip(plant_locations, [7284.00,3756.00,6973.00,7555.00,3894.00,4231.00,7510.00,3852.00,6030.00,3335.00,7216.00,7338.00,4658.00,3780.00,3755.00,7029.00,5197.00])),\n",
    "dict(zip(plant_locations, [8277.00,4750.00,7967.00,8548.00,4889.00,5224.00,8504.00,4847.00,7025.00,4119.00,8213.00,8334.00,5654.00,4775.00,4751.00,8025.00,6190.00])),\n",
    "dict(zip(plant_locations, [7981.00,9465.00,7657.00,8239.00,9435.00,9011.00,8194.00,9485.00,7370.00,8522.00,7914.00,8022.00,8441.00,9650.00,9645.00,7727.00,7902.00])),\n",
    "dict(zip(plant_locations, [5139.00,1572.00,4829.00,5410.00,1715.00,2087.00,5366.00,1672.00,3886.00,1295.00,5072.00,5193.00,2680.00,1577.00,1552.00,4885.00,3052.00])),\n",
    "dict(zip(plant_locations, [8787.00,5259.00,8476.00,9058.00,5398.00,5735.00,9013.00,5355.00,7533.00,4545.00,8719.00,8841.00,6161.00,5283.00,5258.00,8532.00,6700.00])),\n",
    "dict(zip(plant_locations, [5631.00,2103.00,5321.00,5902.00,2242.00,2579.00,5858.00,2200.00,4378.00,2004.00,5564.00,5685.00,3006.00,2127.00,2102.00,5377.00,3545.00])),\n",
    "dict(zip(plant_locations, [5102.00,6585.00,4778.00,5359.00,6556.00,6132.00,5315.00,6605.00,4490.00,6341.00,5034.00,5142.00,5561.00,6770.00,6766.00,4847.00,5022.00])),\n",
    "dict(zip(plant_locations, [3831.00,546.00,3520.00,4102.00,233.00,778.00,4057.00,191.00,2577.00,316.00,3763.00,3885.00,1205.00,89.00,0.00,3576.00,1744.00])),\n",
    "dict(zip(plant_locations, [7334.00,3806.00,7023.00,7605.00,3944.00,4282.00,7560.00,3903.00,6081.00,3399.00,7267.00,7388.00,4708.00,3830.00,3804.00,7080.00,5247.00])),\n",
    "dict(zip(plant_locations, [9168.00,5618.00,8862.00,9417.00,5756.00,6104.00,9392.00,5715.00,7930.00,5196.00,9392.00,9222.00,6521.00,5642.00,5617.00,8918.00,7105.00])),\n",
    "dict(zip(plant_locations, [14552.00,11025.00,11057.00,11524.00,11048.00,11501.00,11504.00,11122.00,11137.00,9280.00,11279.00,11344.00,11927.00,11049.00,11024.00,11116.00,12465.00])),\n",
    "dict(zip(plant_locations, [4964.00,6448.00,4640.00,5221.00,6418.00,5994.00,5177.00,6467.00,4353.00,6368.00,4896.00,5004.00,5423.00,6633.00,6628.00,4709.00,4884.00]))]))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Vehicle Demand\n",
    "vehicle_demands=dict(zip(demand_points, [52926740.45,20211709.62,219933980.04,150919247.29,216546853.27,219082653.37,107530347.57,133005844.58,49856593.12,150185708.09,11357941.91,55444187.63,255172735.53,255172735.53,30226871.78,133474473.15,494016476.75,16109213.06]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Fiber Supply\n",
    "Fiber_supply=dict(zip(supply_points2, [2442615.60, 1285587.16, 1285587.16, 1542704.59, 0.00, 5142348.63, 1414145.87, 1799822.02, 2056939.45, 0, 1028469.73, 4545322.73, 3168200.21])) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Steel Supply\n",
    "steel_supply=dict(zip(supply_points3, [433438.5346,86572.46439,410785.5516,886729.9023,229526.3324,2941756.854,262020.8163,880221.9105,87274618.13,339760.1248,1041776.954,545487.6131,3719616.786,16711.7605,18348867.96,579304.3525,6144062.094,27982.34405,2071579.511,8043696.209,13105.60008,6110162.948,1695886.675,47202.85793,594200.7707,172724.7541,290885.9597,808678.2787,428886.2435,3844381.91,1875103.958,1896674.586,293515.3983,165006.3678,414129.3522,531352.2442,1253213.916,510227.8693,3403.991027,1991149.524,371006.8178,2882638.496,40880.76958,357537.6413,620215.2676,4534254.769,3160485.568,10790773.16])) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the HSS Supply\n",
    "HSS_supply=dict(zip(supply_points4, [866877.0693,173144.9288,821572.1032,1773459.805,459052.6648,5883513.708,524041.6326,1760443.821,174549236.3,679520.2497,2083553.909,1090975.226,7439233.572,33423.521,36697735.91,1158608.705,12288124.19,55964.6881,4143159.023,16087392.42,26211.20016,12220325.9,3391773.351,94405.71585,1188401.541,345449.5083,581771.9193,1617356.557,857772.4871,7688763.821,3750207.916,3793349.172,587030.7966,330012.7357,828258.7044,1062704.488,2506427.832,1020455.739,6807.982054,3982299.048,742013.6356,5765276.992,81761.53917,715075.2826,1240430.535,9068509.538,6320971.137,21581546.32]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Aluminium Supply\n",
    "aluminium_supply=dict(zip(supply_points5, [1750418.373,1108486.991,5259760.632,152870.6086,5846232.525,583785.2387,2405044.613,286578.9516,7130120.719,2122464.834,267850261.2,1178963.884,2903970.469,2541200.847,159171.9705,662387.6583,7691376.454,56655403.55,5188197.412,137744624.1,1888157.9,28443.63952,724801.9126,1052630.169,1883968.768,110143.3931,380422.1379,8080791.105,964428.5326,1312543.345,71076.45981,5162036.898,1900360.293,148867.4242,2820733.861,1017712.828,7634624.871,3723801.549,3766639.035,1121081.872,351723.7786,2886609.143,1384623.344,533795.8943,105019.7955,5143227.069,237073.6777,299230.0617,26856798.65,0,\n",
    "0,0,557404.5143])) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Magnesium Supply\n",
    "magnesium_supply=dict(zip(supply_points6, [4204466.2090,1222172.6320,363811.2924,298590444.7000,2010234.6250,1585983.9250,7566106.3450,6113002.8630,4078244.4230,47579.5177,5189339.4020,9195220.1200,4484984.5940,4536578.4990,379084.0981,3324539.5030,41313949.6100,10124868.6300,7057279.1490]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Plastic Supply\n",
    "plastic_supply=dict(zip(supply_points7, [3484953.6435,3021067.5020,7945692.0017,1637839.3004,7771532.4984,234997919.6606,2509165.8953,731840.0219,6474235.9733,16669297.2185,10078880.5696,9565903.5174,13163659.9622,44795024.7538,887965.8933,12318631.8073,6272914.5326,2745849.6660,243946.6740,665974.4200,4350000.5481,1775931.7866,9520988.2609,5352440.4517,20157761.1392,1219733.3699,5144723.8347,19037885.5204,3995846.5198,5051019.5284,27723150.5426,19323708.4517,5599378.0942]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Rubber Supply\n",
    "rubber_supply=dict(zip(supply_points8, [1258648.2900,8234049.7510,217343.9060,8784079.7960,3935392.5450,6522791.1570,34239646.0300,3411326.1430,603911.1280,5312726.1900,330881.7674,1946363.3380,1386711.0420,2541650.1950,741564.4317,49185954.9800,25617418.0800])) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Glass Supply\n",
    "glass_supply=dict(zip(supply_points9, [897756.3973,3142147.3790,16877820.2100,2513717.9040,4039903.7740,9785544.6960,3788531.9830,1346634.5910,1256858.9520,3411474.2980,4039903.7740,1975064.0670,1526185.8700,1975064.0670,1705737.1490,3052371.7400,498472.9915,243131.0679,245927.9741,1615961.5090,1077307.6730,1256858.9520,1795512.7880,4708260.2780,3281771.6290,1077307.6730])) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Decision Variables\n",
    "X1 = LpVariable.dicts('X1%s%s', (demand_points, plant_locations),\n",
    "                     cat = 'Binary',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X2 = LpVariable.dicts('X2%s%s', (supply_points2, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X3 = LpVariable.dicts('X3%s%s', (supply_points3, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X4 = LpVariable.dicts('X4%s%s', (supply_points4, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X5 = LpVariable.dicts('X5%s%s', (supply_points5, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X6 = LpVariable.dicts('X6%s%s', (supply_points6, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X7 = LpVariable.dicts('X7%s%s', (supply_points7, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X8 = LpVariable.dicts('X8%s%s', (supply_points8, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)\n",
    "X9 = LpVariable.dicts('X9%s%s', (supply_points9, plant_locations),\n",
    "                     cat = 'Continous',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Setting up the minimization problem\n",
    "\n",
    "prob=LpProblem ('P Median',LpMinimize)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Setting up the minimization problem\n",
    "prob+= (sum(sum(vehicle_demands[i]*distance1[i][j]*X1[i][j] for i in demand_points) for j in plant_locations) \n",
    "        + sum(sum(Fiber_supply[i]*distance2[i][j]*X2[i][j] for i in supply_points2) for j in plant_locations)\n",
    "        + sum(sum(steel_supply[i]*distance3[i][j]*X3[i][j] for i in supply_points3) for j in plant_locations)\n",
    "        + sum(sum(HSS_supply[i]*distance4[i][j]*X4[i][j] for i in supply_points4) for j in plant_locations) \n",
    "        + sum(sum(aluminium_supply[i]*distance5[i][j]*X5[i][j] for i in supply_points5) for j in plant_locations) \n",
    "        + sum(sum(magnesium_supply[i]*distance6[i][j]*X6[i][j] for i in supply_points6) for j in plant_locations) \n",
    "        + sum(sum(plastic_supply[i]*distance7[i][j]*X7[i][j] for i in supply_points7) for j in plant_locations) \n",
    "        + sum(sum(rubber_supply[i]*distance8[i][j]*X8[i][j] for i in supply_points8) for j in plant_locations) \n",
    "        + sum(sum(glass_supply[i]*distance9[i][j]*X9[i][j] for i in supply_points9) for j in plant_locations))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Setting up constraints\n",
    "plant_numbers=5\n",
    "prob+= sum(X1[j][j] for j in plant_locations)==plant_numbers"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [],
   "source": [
    "for i in demand_points:\n",
    "    prob+= sum(X1[i][j] for j in plant_locations)==1\n",
    "for i in supply_points2:\n",
    "    prob+= sum(X2[i][j] for j in plant_locations)==1\n",
    "for i in supply_points3:\n",
    "    prob+= sum(X3[i][j] for j in plant_locations)==1\n",
    "for i in supply_points4:\n",
    "    prob+= sum(X4[i][j] for j in plant_locations)==1\n",
    "for i in supply_points5:\n",
    "    prob+= sum(X5[i][j] for j in plant_locations)==1\n",
    "for i in supply_points6:\n",
    "    prob+= sum(X6[i][j] for j in plant_locations)==1\n",
    "for i in supply_points7:\n",
    "    prob+= sum(X7[i][j] for j in plant_locations)==1\n",
    "for i in supply_points8:\n",
    "    prob+= sum(X8[i][j] for j in plant_locations)==1\n",
    "for i in supply_points9:\n",
    "    prob+= sum(X9[i][j] for j in plant_locations)==1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [],
   "source": [
    "for i in demand_points:\n",
    "    for j in plant_locations:\n",
    "        prob+= X1[i][j]<=X1[j][j] \n",
    "for i in supply_points2:\n",
    "    for j in plant_locations:\n",
    "        prob+= X2[i][j] <= X1[j][j]\n",
    "for i in supply_points3:\n",
    "    for j in plant_locations:\n",
    "        prob+= X3[i][j] <= X1[j][j]\n",
    "for i in supply_points4:\n",
    "    for j in plant_locations:\n",
    "        prob+= X4[i][j] <= X1[j][j]\n",
    "for i in supply_points5:\n",
    "    for j in plant_locations:\n",
    "        prob+= X5[i][j] <= X1[j][j]\n",
    "for i in supply_points6:\n",
    "    for j in plant_locations:\n",
    "        prob+= X6[i][j] <= X1[j][j]\n",
    "for i in supply_points7:\n",
    "    for j in plant_locations:\n",
    "        prob+= X7[i][j] <= X1[j][j]\n",
    "for i in supply_points8:\n",
    "    for j in plant_locations:\n",
    "        prob+= X8[i][j] <= X1[j][j]\n",
    "for i in supply_points9:\n",
    "    for j in plant_locations:\n",
    "        prob+= X9[i][j] <= X1[j][j]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [],
   "source": [
    "for j in plant_locations:\n",
    "    prob+= sum(vehicle_demands[i]*X1[i][j] for i in demand_points) <= 585000000\n",
    "\n",
    "for j in plant_locations:\n",
    "    prob+= sum(Fiber_supply[i]*X2[i][j] for i in supply_points2) <= 6000000\n",
    "for j in plant_locations:\n",
    "    prob+= sum(steel_supply[i]*X3[i][j] for i in supply_points3) <= 45000000\n",
    "for j in plant_locations:\n",
    "    prob+= sum(HSS_supply[i]*X4[i][j] for i in supply_points4) <= 90000000\n",
    "for j in plant_locations:\n",
    "    prob+= sum(aluminium_supply[i]*X5[i][j] for i in supply_points5) <= 140000000\n",
    "for j in plant_locations:\n",
    "    prob+= sum(magnesium_supply[i]*X6[i][j] for i in supply_points6) <= 100000000\n",
    "for j in plant_locations:\n",
    "    prob+= sum(plastic_supply[i]*X7[i][j] for i in supply_points7) <= 120000000\n",
    "for j in plant_locations:\n",
    "    prob+= sum(rubber_supply[i]*X8[i][j] for i in supply_points8) <= 40000000\n",
    "for j in plant_locations:\n",
    "    prob+= sum(glass_supply[i]*X9[i][j] for i in supply_points9) <= 25000000"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Saving the model to a lp file\n",
    "prob.writeLP(\"p-median.lp\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Status: Infeasible\n",
      "Objective:  12156784755405.5\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "{'X1Larnaca_PortMina_Salman': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Alexandria': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Aqaba': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Beirut': 1.0,\n",
       " 'X1Larnaca_PortPort_of_Doha': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Gaza': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Haifa': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Hodeidah': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Jeddah': 0.0,\n",
       " 'X1Larnaca_PortPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Latakia': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Mersin': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Salalah': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Shuwaikh': 0.0,\n",
       " 'X1Larnaca_PortPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Mina_SalmanMina_Salman': 1.0,\n",
       " 'X1Mina_SalmanPort_of_Alexandria': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Aqaba': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Beirut': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Doha': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Gaza': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Haifa': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Hodeidah': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Jeddah': 0.0,\n",
       " 'X1Mina_SalmanPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Latakia': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Mersin': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Salalah': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Shuwaikh': 0.0,\n",
       " 'X1Mina_SalmanPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_AlexandriaMina_Salman': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Alexandria': 1.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Doha': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_AlexandriaPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_AqabaMina_Salman': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Aqaba': 1.0,\n",
       " 'X1Port_of_AqabaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Doha': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_AqabaPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasMina_Salman': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Bandar_Abbas': 1.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Doha': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_Bandar_AbbasPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_BeirutMina_Salman': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Beirut': 1.0,\n",
       " 'X1Port_of_BeirutPort_of_Doha': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_BeirutPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_DohaMina_Salman': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Doha': 1.0,\n",
       " 'X1Port_of_DohaPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_DohaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_DohaPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_GazaMina_Salman': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Doha': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Gaza': 1.0,\n",
       " 'X1Port_of_GazaPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_GazaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_GazaPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_HaifaMina_Salman': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Doha': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Haifa': 1.0,\n",
       " 'X1Port_of_HaifaPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_HaifaPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_HodeidahMina_Salman': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Doha': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Hodeidah': 1.0,\n",
       " 'X1Port_of_HodeidahPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_HodeidahPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_Jebel_AliMina_Salman': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Doha': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Jebel_Ali': 2.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_Jebel_AliPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_JeddahMina_Salman': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Doha': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Jeddah': 1.0,\n",
       " 'X1Port_of_JeddahPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_JeddahPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizMina_Salman': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Doha': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_King_Abdul_Aziz': 1.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_King_Abdul_AzizPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_LatakiaMina_Salman': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Doha': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Latakia': 1.0,\n",
       " 'X1Port_of_LatakiaPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_LatakiaPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_MersinMina_Salman': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Doha': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_MersinPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Mersin': 1.0,\n",
       " 'X1Port_of_MersinPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_MersinPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_SalalahMina_Salman': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Doha': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Salalah': 1.0,\n",
       " 'X1Port_of_SalalahPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_SalalahPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_ShuwaikhMina_Salman': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Doha': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Shuwaikh': 1.0,\n",
       " 'X1Port_of_ShuwaikhPort_of_Umm_Qasr': 0.0,\n",
       " 'X1Port_of_Umm_QasrMina_Salman': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Alexandria': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Aqaba': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Bandar_Abbas': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Beirut': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Doha': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Gaza': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Haifa': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Hodeidah': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Jebel_Ali': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Jeddah': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Latakia': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Mersin': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Salalah': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Shuwaikh': 0.0,\n",
       " 'X1Port_of_Umm_QasrPort_of_Umm_Qasr': 1.0,\n",
       " 'X2Port_of_BudapestMina_Salman': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Doha': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Mersin': 1.0,\n",
       " 'X2Port_of_BudapestPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_BudapestPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_BusanMina_Salman': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Doha': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_BusanPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Salalah': 1.0,\n",
       " 'X2Port_of_BusanPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_BusanPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyMina_Salman': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Doha': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Mersin': 1.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_Hamburg_GermanyPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_ImminghamMina_Salman': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Doha': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Mersin': 1.0,\n",
       " 'X2Port_of_ImminghamPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_ImminghamPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruMina_Salman': 1.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Doha': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_Jawaharlal_NehruPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_KaohsiungMina_Salman': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Doha': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Salalah': 1.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_KaohsiungPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_Los_AngelesMina_Salman': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Doha': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Gaza': 1.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_Los_AngelesPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_ManzanilloMina_Salman': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Doha': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Gaza': 1.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_ManzanilloPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_MarseilleMina_Salman': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Alexandria': 1.0,\n",
       " 'X2Port_of_MarseillePort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Beirut': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Doha': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Gaza': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Haifa': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Latakia': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Mersin': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Salalah': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_MarseillePort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_MersinMina_Salman': 1.0,\n",
       " 'X2Port_of_MersinPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Doha': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_MersinPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_MersinPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_NagoyaMina_Salman': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Bandar_Abbas': 0.98321796,\n",
       " 'X2Port_of_NagoyaPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Doha': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Salalah': 0.016782036,\n",
       " 'X2Port_of_NagoyaPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_NagoyaPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_New_YorkMina_Salman': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Alexandria': 0.30143216,\n",
       " 'X2Port_of_New_YorkPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Doha': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Gaza': 0.22704169,\n",
       " 'X2Port_of_New_YorkPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Mersin': 0.47152615,\n",
       " 'X2Port_of_New_YorkPort_of_Salalah': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_New_YorkPort_of_Umm_Qasr': 0.0,\n",
       " 'X2Port_of_ShanghaiMina_Salman': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Alexandria': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Aqaba': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Bandar_Abbas': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Beirut': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Doha': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Gaza': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Haifa': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Hodeidah': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Jebel_Ali': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Jeddah': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Latakia': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Mersin': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Salalah': 1.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Shuwaikh': 0.0,\n",
       " 'X2Port_of_ShanghaiPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_AlexandriaMina_Salman': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Alexandria': 1.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Doha': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_AlexandriaPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_AlgecirasMina_Salman': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Doha': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_AlgecirasPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_AntwerpMina_Salman': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Doha': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_AntwerpPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_AntwerpPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_AqabaMina_Salman': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Aqaba': 1.0,\n",
       " 'X3Port_of_AqabaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Doha': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_AqabaPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasMina_Salman': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Bandar_Abbas': 1.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Doha': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_Bandar_AbbasPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_BangkokMina_Salman': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Doha': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Salalah': 1.0,\n",
       " 'X3Port_of_BangkokPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_BangkokPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_BratislavaMina_Salman': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Doha': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Mersin': 1.0,\n",
       " 'X3Port_of_BratislavaPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_BratislavaPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_BudapestMina_Salman': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Doha': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_BudapestPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_BudapestPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_Buenos_AiresMina_Salman': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Doha': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_Buenos_AiresPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_BusanMina_Salman': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Doha': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Hodeidah': 1.0,\n",
       " 'X3Port_of_BusanPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_BusanPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_BusanPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_CasablancaMina_Salman': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Doha': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_CasablancaPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_CasablancaPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_DohaMina_Salman': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Doha': 1.0,\n",
       " 'X3Port_of_DohaPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_DohaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_DohaPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_DurbanMina_Salman': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Doha': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Hodeidah': 1.0,\n",
       " 'X3Port_of_DurbanPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_DurbanPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_GdanskMina_Salman': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Doha': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_GdanskPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_GdanskPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_Gioia_TauroMina_Salman': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Doha': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Mersin': 1.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_Gioia_TauroPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_GothenburgMina_Salman': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Doha': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_GothenburgPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_GothenburgPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_HaifaMina_Salman': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Doha': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Haifa': 1.0,\n",
       " 'X3Port_of_HaifaPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_HaifaPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckMina_Salman': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Doha': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_Hamburg_CzeckPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyMina_Salman': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Doha': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_Hamburg_GermanyPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_HedlandMina_Salman': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Doha': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Hodeidah': 1.0,\n",
       " 'X3Port_of_HedlandPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_HedlandPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_ImminghamMina_Salman': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Doha': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Gaza': 1.0,\n",
       " 'X3Port_of_ImminghamPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_ImminghamPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruMina_Salman': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Bandar_Abbas': 1.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Doha': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_Jawaharlal_NehruPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_Jebel_AliMina_Salman': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Doha': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Jebel_Ali': 1.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_Jebel_AliPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_JeddahMina_Salman': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Doha': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Jeddah': 1.0,\n",
       " 'X3Port_of_JeddahPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_JeddahPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_KaohsiungMina_Salman': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Doha': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Hodeidah': 1.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_KaohsiungPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_KarachiMina_Salman': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Bandar_Abbas': 1.0,\n",
       " 'X3Port_of_KarachiPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Doha': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_KarachiPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizMina_Salman': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Doha': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_King_Abdul_Aziz': 1.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Latakia': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Mersin': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Salalah': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Shuwaikh': 0.0,\n",
       " 'X3Port_of_King_Abdul_AzizPort_of_Umm_Qasr': 0.0,\n",
       " 'X3Port_of_LatakiaMina_Salman': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Alexandria': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Aqaba': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Bandar_Abbas': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Beirut': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Doha': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Gaza': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Haifa': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Hodeidah': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Jebel_Ali': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Jeddah': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_King_Abdul_Aziz': 0.0,\n",
       " 'X3Port_of_LatakiaPort_of_Latakia': 1.0,\n",
       " 'X3Port_of_LatakiaPort_of_Mersin': 0.0,\n",
       " ...}"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "prob.solve()\n",
    "\n",
    "print(\"Status:\",LpStatus[prob.status]) \n",
    "print(\"Objective: \",value(prob.objective))\n",
    "varsdict = {}\n",
    "for v in prob.variables():\n",
    "    varsdict[v.name] = v.varValue\n",
    "varsdict"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
